//
// Created by Administrator on 2024/4/8.
// 质因数分解
//

#include <iostream>
using namespace std;

int main()
{
    int n =102;
//    cin>>n;
    for (int i = 2; i*i <=n ; ++i)
    {
        while (n%i==0)
        {
            cout<<i<<endl;
            n/=i;
        }
    }
    if (n>1)
        cout<<n<<endl;
    return 0;
}